/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author beryl
 */
public class LotteryTicket implements java.io.Serializable {

    private Integer ticketid;
    private LotteryDrawHistory draw;
    private User user;

    public LotteryTicket() {
    }

    public LotteryTicket(Integer ticketid, LotteryDrawHistory draw, User user) {
        this.ticketid = ticketid;
        this.draw = draw;
        this.user = user;
    }

    public LotteryDrawHistory getDraw() {
        return draw;
    }

    public void setDraw(LotteryDrawHistory draw) {
        this.draw = draw;
    }

    public Integer getTicketid() {
        return ticketid;
    }

    public void setTicketid(Integer ticketid) {
        this.ticketid = ticketid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
